package com.mrobuy.jdvc.entity;

import com.gavel.annotation.FieldMeta;
import com.gavel.annotation.TableMeta;
import com.gavel.database.SQLExecutor;

@TableMeta(name = "VC_PURCHASE_SALE", title = "规格参数")
public class VCPurchaseSale {

    @FieldMeta(name = "ID", title = "ID", length = 32, primary = true)
    private String id;

    @FieldMeta(name = "CID", title = "三级分类ID", length = 50)
    private String cid;

    @FieldMeta(name = "CATE2", title = "二级分类", length = 64)
    private String cate2;

    @FieldMeta(name = "CATE3", title = "三级分类", length = 64)
    private String cate3;

    @FieldMeta(name = "SALERCODE", title = "销售员简码", length = 50)
    private String salercode;

    @FieldMeta(name = "PURCHASERCODE", title = "采购员简码", length = 50)
    private String purchasercode;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public String getCate2() {
        return cate2;
    }

    public void setCate2(String cate2) {
        this.cate2 = cate2;
    }

    public String getCate3() {
        return cate3;
    }

    public void setCate3(String cate3) {
        this.cate3 = cate3;
    }

    public String getSalercode() {
        return salercode;
    }

    public void setSalercode(String salercode) {
        this.salercode = salercode;
    }

    public String getPurchasercode() {
        return purchasercode;
    }

    public void setPurchasercode(String purchasercode) {
        this.purchasercode = purchasercode;
    }

    public static void main(String[] args) throws Exception {
        SQLExecutor.createTable(VCPurchaseSale.class);
    }

}
